package com.face.job;

import javax.jms.Queue;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.jms.core.JmsMessagingTemplate;
import org.springframework.scheduling.annotation.EnableScheduling;
import org.springframework.scheduling.annotation.Scheduled;
import org.springframework.stereotype.Component;



@Component
@EnableScheduling
public class SendMsgJob {
	/*
	 * 
	 * @Autowired private JmsMessagingTemplate jmsMessageTemplate;
	 * 
	 * @Autowired private Queue msgQueue;
	 * 
	 * @Scheduled(fixedDelay = 5000) public void sendFltMsgByQueue() {
	 * this.jmsMessageTemplate.convertAndSend(this.msgQueue, "sjdfisdhfjs");
	 * 
	 * }
	 */}
